package com.qianfeng.app;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;


@EnableAutoConfiguration
@ComponentScan("com.qianfeng")
//因为在com.qianfeng.datasource中已经扫描mapper了，这里就不用扫描了
public class SpringApplications {

	public static void main(String[] args) {
		SpringApplication.run(SpringApplications.class, args);
	}
}
